/*
 * Copyright © 2022
 * @Author: zhangxiang
 * @Date: 2022-11-18 15:33:03
 * @LastEditors: zhangxiang
 * @LastEditTime: 2022-12-14 15:54:05
 * @Description: 
 * 
 */

@primaryColor: #607efd;

/**
 * @description: 文字通用样式
 * @return {*}
 */
.textStyle(@ftsize: 30px, @ftweight: 500, @clr: #323232) {
  font-size: @ftsize; // 字体大小
  color: @clr; // 字体颜色
  font-weight: @ftweight; // 字重
}

.common-table {
  .el-table::before {
    background-color: #f2f2f2;
  }
  /deep/ .listHeaderCell {
    height: 60px;
    border: none;
    box-sizing: border-box;
    &:first-child {
      padding-left: 25px;
    }
  }
  /deep/ .el-table__body {
    .el-table__row {
      background: #f8f8f8;
      td {
        height: 40px;
        padding: 0;
        border-bottom: none;
        &:first-child {
          padding-left: 25px;
        }
      }
      .el-table-column--selection .cell {
        padding-left: 10px;
        padding-right: 5px;
      }
    }
    .el-table__row--striped {
      background: #fff;
      .el-table__cell {
        background: transparent;
      }
    }
  }
  /deep/ &.el-table tbody tr:hover > .el-table__cell {
    background: #eaeaea;
  }
}
